import * as api from '../service.js'
import base from './base'
export default {
  ...base,
	login(p){return api.post('/api/member/login',p)},
	reg(p){return api.post('/api/member/reg',p)},
	sendSmsCode(p){return api.post('/api/sms/sendSmsCode',p)},
	updatePwd(p){return api.post('/api/member/updatePwd',p)},
	selectClassByClassTypeId(p){return api.post('/api/home/selectClassByClassTypeId',p)},
	selectProductsByClassId(p){return api.post('/api/home/selectProductsByClassId',p)},
	getProductInfoList(p){return api.post('/api/productClass/getProductInfoList',p)},
	searchProduct(p){return api.post('/api/home/searchProduct',p)},
	getProductInfoEval(p){return api.post('/api/product/getProductInfoEval',p)},
	getOrderProductsByOrderId(p){return api.post('/api/order/getOrderProductsByOrderId',p)},
	getTgaByProductId(p){return api.post('/api/tagcfg/getTgaByProductId',p)},
	uploadImg(p){return api.post('/api/common/uploadImg',p)},
	insertOrdereValuate(p){return api.post('/api/orderEvaluate/insertOrdereValuate',p)},
	getAddrList(p){return api.post('/api/member/getAddrList',p)},
	saveAddr(p){return api.post('/api/member/saveAddr',p)},
	delAddr(p){return api.post('/api/member/delAddr',p)},
	getExpress(p){return api.post('/api/tborderitem/getExpress',p)},
	returnOrderInfo(p){return api.post('/api/orderReturn/returnOrderInfo',p)},
	insertReturn(p){return api.post('/api/orderReturn/insertReturn',p)},
	selectByOrderId(p){return api.post('/api/orderReturn/selectByOrderId',p)},
	cancelRefund(p){return api.post('/api/order/cancelRefund',p)},
	upDateFinishTime(p){return api.post('/api/order/upDateFinishTime',p)},
	getShipFeeTotalAmt(p){return api.post('/api/order/getShipFeeTotalAmt',p)},
	cancelOrder(p){return api.post('/api/order/cancelOrder',p)},
	toPay(p){return api.post('/api/order/toPay',p)},
	buyNowProduct(p){return api.post('/api/order/buyNowProduct',p)},
	//

  getAddrById(p){return api.post('/api/member/getAddrById',p)},
  confirmOrder(p){return api.post('/api/order/confirmOrder',p)},
  moreProductList(p){return api.post('/api/home/selectProducts',p)},
  shopCarSettle(p){return api.post('/api/shopCar/shopCarSettle',p)},
  getAboutUs(p){return api.post('/api/aboutUs/getAboutUs',p)},
  selectOrderEvaluateByMemberId(p){return api.post('/api/orderEvaluate/selectOrderEvaluateByMemberId',p)},
  getPayWayShip(p){return api.post('/api/order/getPayWayShip',p)},
	//


}
